
<%
	String Decimal = (String) request.getAttribute("Decimal");
	String Hostname = (String) request.getAttribute("Hostname");
	String ISP = (String) request.getAttribute("ISP");
	String Organization = (String) request.getAttribute("Organization");
	String Services = (String) request.getAttribute("Services");
	String Type = (String) request.getAttribute("Type");
	String Assignment = (String) request.getAttribute("Assignment");
	String Country = (String) request.getAttribute("Country");
	String Region = (String) request.getAttribute("Region");
	String City = (String) request.getAttribute("City");
	String Latitude = (String) request.getAttribute("Latitude");
	String Longitude = (String) request.getAttribute("Longitude");
	String ip = (String) request.getAttribute("ip");
	String next = "";
	if(ip!=null)
		next = " "+ip+".";
	String title = "Lookup ip"+next;	
	String description = next+"Our visitors need to know their IP address for many reasons including gaming, tech support, remote desktop connection, proxy detection, anonymity, to see if their address has changed, or if they're running their own email server.";
	String keyword = "Lookup ip,ip,trackip";
%>

<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
	<jsp:param name="description" value="<%=description %>" />
	<jsp:param name="keywords" value="<%=keyword %>" />
	<jsp:param name="menu" value="lookupip" />
</jsp:include>

<div id="content">

	<div class='search'>
		<form action="/ip-lookup" method="get">
			<input class="input" type="text" name="ip"
				onclick="javascript:if(this.value=='Lookup ip...')this.value=''"
				value="Lookup ip...">
			<button type="submit">Lookup ip</button>
		</form>
		<div class="clear"></div>
		<div class="adv728 clear_div">
			<jsp:include page="/adv/728x90.jsp"></jsp:include>
		</div>
	</div>

	<div>
		<jsp:include page="/adv/728x15.jsp"></jsp:include>
		<%
			if (ip != null) {
		%>
		<h1><%=ip%></h1>
		<table cellpadding="0" cellspacing="0" width="100%" class="exp">
			<tr>
				<td>Decimal</td>
				<td><%=Decimal%></td>
			</tr>
			<tr>
				<td>Hostname</td>
				<td><%=Hostname%></td>
			</tr>
			<tr>
				<td>ISP</td>
				<td><%=ISP%></td>
			</tr>
			<tr>
				<td>Organization</td>
				<td><%=Organization%></td>
			</tr>
			<tr>
				<td>Services</td>
				<td><%=Services%></td>
			</tr>
			<tr>
				<td>Type</td>
				<td><%=Type%></td>
			</tr>
			<tr>
				<td>Assignment</td>
				<td><%=Assignment%></td>
			</tr>
			<tr>
				<td>Country</td>
				<td><%=Country%></td>
			</tr>
			<tr>
				<td>Region</td>
				<td><%=Region%></td>
			</tr>
			<tr>
				<td>City</td>
				<td><%=City%></td>
			</tr>
			<tr>
				<td>Latitude</td>
				<td><%=Latitude%></td>
			</tr>
			<tr>
				<td>Longitude</td>
				<td><%=Longitude%></td>
			</tr>
		</table>
		<%
			} else {
		%>
		<p>
			<strong>Example : </strong><a href="/ip-lookup?ip=74.125.226.69"
				class="link" rel="nofollow">74.125.226.69</a>
		</p>
		<p>This IP lookup tool is designed to provide additional information about the entered IP address.</p>

		<p>These details include the hostname, Geographic location information (includes country, region/state, city, latitude, longitude and telephone area code.), and a location specific map.</p>

		<p>The geographic details are pulled from a commercially available geolocation database. Geolocation technology can never be 100% accurate in providing the location of an IP address. When the IP address is a proxy server and it does not expose the user's IP address it is virtually impossible to locate the user. The country accuracy is estimated at about 99%. For IP addresses in the United States, it is 90% accurate on the state level, and 81% accurate within a 25 mile radius. Our world-wide users indicate 60% accurate within 25 miles.</p>

		<p>By default this tool will lookup the IP address that you are using. You can enter any IP address in its place below.</p>

		<p>This information should not be used for emergency purposes, trying to find someone's exact physical address, or other purposes that would require 100% accuracy.</p>
		<%
			}
		%>
	</div>
</div>

<jsp:include page="layout/footer.jsp"></jsp:include>
